package com.jf.cloud.user.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.jf.cloud.common.model.ExcelModel;

/**
 * 客户信息导出
 * @author: zsm
 * @date: 2023/1/16 11:44
 */
public class ShopCustomerExcelVO extends ExcelModel {
    /**
     * excel 信息
     */
    public static final String EXCEL_NAME = "客户信息";
    public static final String SHEET_NAME = "sheet";
    /**
     * 哪一行开始导出
     */
    public static final int MERGE_ROW_INDEX = 2;
    /**
     * 需要合并的列数组
     */
    public static final int[] MERGE_COLUMN_INDEX = {};

    @ExcelProperty(value = {"客户信息", "序号"}, index = 0)
    private String seq;

    @ExcelProperty(value = {"客户信息", "客户昵称"}, index = 1)
    private String nickName;

    @ExcelProperty(value = {"客户信息", "手机号码"}, index = 2)
    private String phone;
    @ExcelProperty(value = {"客户信息", "消费金额"})
    private Double consAmount;

    @ExcelProperty(value = {"客户信息", "消费次数"})
    private Integer consTimes;

    @ExcelProperty(value = {"客户信息", "退款金额"})
    private Double afterSaleAmount;

    @ExcelProperty(value = {"客户信息", "退款次数"})
    private Integer afterSaleTimes;

    public String getSeq() {
        return seq;
    }

    public void setSeq(String seq) {
        this.seq = seq;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Double getConsAmount() {
        return consAmount;
    }

    public void setConsAmount(Double consAmount) {
        this.consAmount = consAmount;
    }

    public Integer getConsTimes() {
        return consTimes;
    }

    public void setConsTimes(Integer consTimes) {
        this.consTimes = consTimes;
    }

    public Double getAfterSaleAmount() {
        return afterSaleAmount;
    }

    public void setAfterSaleAmount(Double afterSaleAmount) {
        this.afterSaleAmount = afterSaleAmount;
    }

    public Integer getAfterSaleTimes() {
        return afterSaleTimes;
    }

    public void setAfterSaleTimes(Integer afterSaleTimes) {
        this.afterSaleTimes = afterSaleTimes;
    }

    @Override
    public String toString() {
        return "ShopCustomerExcelVO{" +
                "seq='" + seq + '\'' +
                ", nickName='" + nickName + '\'' +
                ", phone='" + phone + '\'' +
                ", consAmount=" + consAmount +
                ", consTimes=" + consTimes +
                ", afterSaleAmount=" + afterSaleAmount +
                ", afterSaleTimes=" + afterSaleTimes +
                '}';
    }
}
